#include<iostream>
#include<cstring>
using namespace std;

int main()
{
	string s1="hehe";
	string s2;
	cout<<s1<<endl<<s2<<endl;
	string s3;
	getline(cin,s3,'0');
	cout<<s3<<endl<<s3.size();
	return 0;
}
